package com.ikas.ai.server.module.machine.model.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
public class MachineAndSystemTreeDTO {
    Long tableId;
    String name;
    String code;
    String parentName;
    String parentCode;
    String nodeType;
    Integer level;
    Integer childrenCount;
    List<MachineAndSystemTreeDTO> children;

    public static final String TYPE_EQUIPMENT = "equipment";
    public static final String TYPE_SYSTEM = "system";
    public static final String TYPE_MACHINE = "machine";
}
